﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Wicresoft.SelfService.WFInterface
{
    [DataContract]
    public class RollBackParam
    {
        /// <summary>
        /// to indicate workflow.this should be preview returned by RequestResult.FlowInstanceId
        /// </summary>
        [DataMember]
        public Guid FlowInstanceId { get; set; }

        /// <summary>
        /// indicate the current step
        /// </summary>
        [DataMember]
        public string CurrentStep { get; set; }

        /// <summary>
        /// reqeust code,unique guid for preventing duplicate request.
        /// </summary>
        [DataMember]
        public string RequestCode { get; set; }

        /// <summary>
        /// SecurityCode which is a hard code const as 'fjyc.wicresoft'
        /// </summary>
        [DataMember]
        public string SecurityCode { get; set; }
    }
}
